package com.itheima.Mapper;

import com.itheima.Pojo.EmpExpr;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpExprMapper {

    /**
     * 批量插入员工经历
     * 动态sql<foreach></foreach>
     * @param exprList
     */
    void insertBatch(List<EmpExpr> exprList);


    /**
     * 批量删除员工经历
     * @param ids
     */
    void deleteBatch(List<Integer> ids);

}
